import infoTpl from './info.tpl';

const info = {
  name: 'HuaJi',
  age: 29,
  sex: '男',
};

const textDom = document.createElement('p');
textDom.style.cssText = 'width: 200px;height: 200px;background-color: pink;';
textDom.innerHTML = infoTpl(info);
document.body.appendChild(textDom);
